<extend name="Base/common" />

<block name="style">
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/Api/css/order.css">
</block>

<block name="Content">

<div class="page-group">
    <div class="page page-current">
        <nav class="bar bar-tab bottom-nav bar-standard bar-footer">
            <a class="tab-item external" href="{:U('Index/index')}">
                <span class="icon"><img src="__PUBLIC__/Api/images/icon-home.png" alt=""></span>
                <span class="tab-label">首页</span>
            </a>
            <a class="tab-item external" href="{:U('Orders/index')}">
                <span class="icon icon-me1"><img src="__PUBLIC__/Api/images/icon-news.png" alt=""></span>
                <span class="tab-label">订单</span>
            </a>
            <a class="tab-item external active" href="#">
                <span class="icon"><img src="__PUBLIC__/Api/images/icon-user2.png" alt=""></span>
                <span class="tab-label">我的</span>
            </a>
        </nav>
        <div class="content personal-center">
            <!--个人中心头部-->
            <div class="order-detail-top">
                <div class="list-block media-list">
                    <ul>
                        <li class="order-p">
                            <a href="{:U('User/baseInfo')}" class="item-link item-content">
                                <div class="item-content" style="width:100%">
                                    <div class="item-media">
                                        <img src="{$userModel['fullpath']|default='__PUBLIC__/Api/images/person1.png'}"
                                        	style="max-height:90px" alt="">
                                    </div>
                                    <div class="item-inner">
                                        <div class="item-title-row">
                                            <div class="item-title">{$userModel['username']}</div>
                                        </div>
                                        <div class="item-subtitle personal-tel">{$userModel['account']}</div>
                                    </div>
                                </div>
                            </a>
                        </li>
                    </ul>
                </div>
            </div>
            <!--个人中心主体内容-->
            <div class="personal-main">
                <div class="list-block">
                    <ul>
                        <li>
                            <a href="{:U('UserCoupon/index')}" class="item-link item-content">
                                <div class="item-inner">
                                    <div class="item-title"><i class="icon-p icon-coupon"></i>我的优惠券</div>
                                </div>
                            </a>
                        </li>
                        <li>
                            <a href="{:U('UserAddress/index')}" class="item-link item-content">
                                <div class="item-inner">
                                    <div class="item-title"><i class="icon-p icon-map"></i>常用地址</div>
                                </div>
                            </a>
                        </li>
                        <li>
                            <a href="{:U('Public/register', 'type=2')}" class="item-link item-content">
                                <div class="item-inner">
                                    <div class="item-title"><i class="icon-p icon-password"></i>修改密码</div>
                                </div>
                            </a>
                        </li>
                        <li>
                            <a href="tel:4008526519" class="item-link item-content">
                                <div class="item-inner">
                                    <div class="item-title"><i class="icon-p icon-tel"></i>联系客服</div>
                                </div>
                            </a>
                        </li>
                        <li>
                            <a href="{:U('Public/about')}" class="item-link item-content">
                                <div class="item-inner">
                                    <div class="item-title"><i class="icon-p icon-about"></i>关于小哥</div>
                                </div>
                            </a>
                        </li>
                    </ul>
                </div>
                <!--退出登录按钮-->
                <div class="quit-btn"><a href="{:U('Public/logout')}">退出登录</a></div>
            </div>
        </div>
    </div>
</div>

</block>

<block name="script">
<script type="text/javascript">

</script>
</block>

